package cn.iocoder.yudao.module.vote.controller.admin.voteconfig.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 优秀最大比例配置信息 Excel 导出 Request VO", description = "参数和 VoteConfigPageReqVO 是一致的")
@Data
public class VoteConfigExportReqVO {

    @ApiModelProperty(value = "投票规则id")
    private Long voteId;

    @ApiModelProperty(value = "投票类型")
    private Integer voteType;

    @ApiModelProperty(value = "优秀最大比率")
    private Float excellentMaxCount;

    @ApiModelProperty(value = "人数小于指定人数")
    private Integer specialVote;

    @ApiModelProperty(value = "特殊情况优秀最大比率")
    private Float specialMaxCount;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "开始创建时间")
    private Date beginCreateTime;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "结束创建时间")
    private Date endCreateTime;
    @ApiModelProperty(value = "投票名称")
    private String voteName;
}
